<template>
	<view>
		<view class="grace-header-body" :style="{background:theme_color}">
			<view class="grace-rows">
				<view class="grace-header-icons grace-icons icon-arrow-left grace-white" @tap="myback"></view>
				<!-- <view class="grace-flex-center" style="width: 750rpx;"> -->
					<text style="font-size: 36rpx;color: #FFFFFF;line-height: 80rpx;margin-left: 180rpx;">{{name}}</text>
				<!-- </view> -->
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name:"graceDaoHangLan",
		props:{
			name:name
		},
		data() {
			return {
				theme_color: '',
			};
		},
		created() {
			var vm = this
			var myapp = uni.getStorageSync('myapp');
			this.theme_color = myapp.theme_color
		},
		methods:{
			// 页面返回事件
			myback(){
				this.$emit('myback')
				// uni.navigateBack({
				// 	delta:1
				// })
			}
		}
	}
</script>

<style>

</style>
